home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Bitmap / Sources / Templat.cpp < prev   
Encoding:
Text File  |  1994-04-21  |  4.6 KB  |  129 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Templat.cpp
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Henri Lamiraux
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. // ----- Framework Includes -----
  14.  
  15. #ifndef FWSTRS_H
  16. #include <FWStrs.h>
  17. #endif
  18. #ifndef BCSTOREU_H
  19. #include <BCStoreU.h>
  20. #endif
  21. #ifndef FWARDYNA_H
  22. #include <FWArDyna.h>
  23. #endif
  24. #ifndef FWMATH_H
  25. #include <FWMath.h>
  26. #endif
  27.  
  28. #include <BCUnboun.cpp>
  29. #include <BCDynami.cpp>
  30. #include <BCNodes.cpp>
  31. #include <BCHashTa.cpp>
  32.  
  33. #include <BCColl.cpp>
  34. #include <BCCollD.cpp>
  35. #include <BCCollU.cpp>
  36.  
  37. #include <BCMap.cpp>
  38. #include <BCMapD.cpp>
  39.  
  40. #include <FWStrgAr.tpp>
  41. #include <FWUtil.tpp>
  42.  
  43. #pragma template_access public
  44.  
  45. //========================================================================================
  46. // Forward declarations
  47. //========================================================================================
  48.  
  49. class XMPMacFacet;
  50. class XMPFrame;
  51.  
  52. class FW_CProxyFrame;
  53. class FW_CFrame;
  54. class FW_CWindow;
  55. class FW_CProxyRun;
  56. class FW_CPublishLink;
  57. class FW_CSubscribLink;
  58.  
  59. //----------------------------------------------------------------------------------------
  60. // ----- Trigger the template expansion of framework templates
  61. //----------------------------------------------------------------------------------------
  62.  
  63. #pragma template FW_Minimum(unsigned int, unsigned int)
  64. #pragma template FW_Minimum(long, long)
  65.  
  66. #pragma template BC_TDynamic<FW_CProxyFrame *,BC_CUnmanaged>
  67. #pragma template BC_TCollection<FW_CProxyFrame *>
  68. #pragma template BC_TDynamicCollection<FW_CProxyFrame *,BC_CUnmanaged>
  69. #pragma template BC_TCollectionActiveIterator<FW_CProxyFrame *>
  70.  
  71. #pragma template BC_TDynamic<XMPMacFacet *,BC_CUnmanaged>
  72. #pragma template BC_TCollection<XMPMacFacet *>
  73. #pragma template BC_TDynamicCollection<XMPMacFacet *,BC_CUnmanaged>
  74. #pragma template BC_TCollectionActiveIterator<XMPMacFacet *>
  75.  
  76. #pragma template BC_TDynamic<FW_CFrame *,BC_CUnmanaged>
  77. #pragma template BC_TCollection<FW_CFrame *>
  78. #pragma template BC_TDynamicCollection<FW_CFrame *,BC_CUnmanaged>
  79. #pragma template BC_TCollectionActiveIterator<FW_CFrame *>
  80.  
  81. #pragma template BC_TDynamic<FW_CWindow *,BC_CUnmanaged>
  82. #pragma template BC_TCollection<FW_CWindow *>
  83. #pragma template BC_TDynamicCollection<FW_CWindow *,BC_CUnmanaged>
  84. #pragma template BC_TCollectionActiveIterator<FW_CWindow *>
  85.  
  86. #pragma template BC_TDynamic<FW_CProxyRun *,BC_CUnmanaged>
  87. #pragma template BC_TCollection<FW_CProxyRun *>
  88. #pragma template BC_TDynamicCollection<FW_CProxyRun *,BC_CUnmanaged>
  89. #pragma template BC_TCollectionActiveIterator<FW_CProxyRun *>
  90.  
  91. #pragma template BC_TDynamic<FW_CPublishLink *,BC_CUnmanaged>
  92. #pragma template BC_TCollection<FW_CPublishLink *>
  93. #pragma template BC_TDynamicCollection<FW_CPublishLink *,BC_CUnmanaged>
  94. #pragma template BC_TCollectionActiveIterator<FW_CPublishLink *>
  95.  
  96. #pragma template BC_TCollectionActiveIterator<FW_CSubscribLink *>
  97.  
  98. // ----- Template expansion of Booch Map classes -----
  99.  
  100. #pragma template BC_TPair<FW_SPrivArcStr,FW_SPrivArcStr>
  101. #pragma template BC_TDynamic<BC_TPair<FW_SPrivArcStr,FW_SPrivArcStr>,BC_CUnmanaged>
  102. #pragma template BC_TTable<FW_SPrivArcStr,FW_SPrivArcStr,101,BC_TDynamic<BC_TPair<FW_SPrivArcStr,FW_SPrivArcStr>,BC_CUnmanaged>>
  103. #pragma template BC_TMap<FW_SPrivArcStr,FW_SPrivArcStr>
  104. #pragma template BC_TDynamicMap<FW_SPrivArcStr,FW_SPrivArcStr,101,BC_CUnmanaged>
  105. #pragma template BC_TMapActiveIterator<FW_SPrivArcStr,FW_SPrivArcStr>
  106.  
  107. #pragma template BC_TPair<FW_SPrivArcStr,FW_SPrivArcFun>
  108. #pragma template BC_TDynamic<BC_TPair<FW_SPrivArcStr,FW_SPrivArcFun>,BC_CUnmanaged>
  109. #pragma template BC_TTable<FW_SPrivArcStr,FW_SPrivArcFun,101,BC_TDynamic<BC_TPair<FW_SPrivArcStr,FW_SPrivArcFun>,BC_CUnmanaged>>
  110. #pragma template BC_TMap<FW_SPrivArcStr,FW_SPrivArcFun>
  111. #pragma template BC_TDynamicMap<FW_SPrivArcStr,FW_SPrivArcFun,101,BC_CUnmanaged>
  112. #pragma template BC_TMapActiveIterator<FW_SPrivArcStr,FW_SPrivArcFun>
  113.  
  114. // ----- Template expansion of String classes -----
  115.  
  116. #pragma template FW_TBoundedString<32>
  117. #pragma template FW_TBoundedString<255>
  118.  
  119. // ----- Template expansion of Archiver classes -----
  120.  
  121. #pragma template FW_TStringArchiver<FW_TBoundedString<32>>
  122. #pragma template FW_TStringArchiver<FW_TBoundedString<255>>
  123. #pragma template FW_TStringArchiver<FW_CDynamicString>
  124.  
  125.  
  126. //----------------------------------------------------------------------------------------
  127. // ----- Trigger the template expansion of BitmapPart templates
  128. //----------------------------------------------------------------------------------------
  129.